package com.qf.api.blog.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: sin
 * @Date: 2025/5/25 10:22
 * @Description: 新增/编辑 知识库
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WikiDTO {

    private Long id;

    @NotBlank(message = "标题不能为空")
    private String title;

    private String cover;

    private String summary;

}
